package org.bravof.analysis;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * 程序执行入口
 */
@Component
public class ProgramStarter implements ApplicationRunner {
    @Autowired
    private DataProcessor dataProcessor;

    @Override
    public void run(ApplicationArguments args) throws Exception {
        //开始处理
        dataProcessor.generatorDataMap();
    }
}
